// 执行动作表单数据类型
interface ActionFormItemProps {
  id: number;
  dealerId: number;
  tenantId: number;
  eventId: number;
  section: number;
  action: string;
  actionParams: string;
}

interface ActionFormProps {
  formInline: ActionFormItemProps;
  title: string; // 用于表单标题
  eventOptions: Array<{ value: number; label: string }>; // 事件下拉选项
}

// 执行动作列表项类型
export interface ActionItem {
  Id: number;
  DealerId: number;
  TenantId: number;
  EventId: number;
  Section: number;
  Action: string;
  ActionParams: string;
}

export type { ActionFormItemProps, ActionFormProps };
